package io.renren.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-01-20 12:55:41
 */
@TableName("tb_campaign")
public class CampaignEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 项目ID
     */
    @TableId
    private Integer id;
    /**
     * 筹集金额
     */
    private Double price;
    /**
     * 货币种类
     */
    private String priceType;
    /**
     * 活动标题
     */
    private String title;
    /**
     * 项目描述（子标题）
     */
    private String tagline;
    /**
     * 项目主封面
     */
    private String campaignImage;
    /**
     * 项目描述
     */
    private String campaignDesc;
    /**
     * 来自区域(城市)
     */
    private String locationCity;
    /**
     * 来自区域(国家)
     */
    private String locationCountry;
    /**
     * category
     */
    private String category;


    /**
     * 持续时间
     */
    private Date campaignDuration;
    /**
     * 视频描述
     */
    private String pitchVideo;
    /**
     * 封面
     */
    private String pitchImage;
    /**
     *
     */
    private String overlayImage;
    /**
     *
     */
    private String campaignOverview;
    /**
     *
     */
    private String campaignPitchImages;

    /**
     * 所属用户ID
     */
    private String ownerId;
    /**
     * 所属人姓名
     */
    private String ownerName;
    /**
     * 标签
     */
    private String tag;
    /**
     *
     */
    private String overviewDesc;
    /**
     *
     */
    private String overviewImage;
    /**
     * 项目story
     */
    private String campaignStory;
    /**
     *
     */
    private Date createTime;
    /**
     *
     */
    private Date modifyTime;



    @TableField(exist = false)
    private double totalPrice;

    @TableField(exist = false)
    private String ownerImage;

    @TableField(exist = false)
    private boolean isBacker;

    @TableField(exist = false)
    private int bookmarkId;

    /**
     * 设置：项目ID
     */
    public void setId(Integer id) {
        this.id = id;
    }
    /**
     * 获取：项目ID
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：筹集金额
     */
    public void setPrice(Double price) {
        this.price = price;
    }
    /**
     * 获取：筹集金额
     */
    public Double getPrice() {
        return price;
    }
    /**
     * 设置：货币种类
     */
    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }
    /**
     * 获取：货币种类
     */
    public String getPriceType() {
        return priceType;
    }
    /**
     * 设置：活动标题
     */
    public void setTitle(String title) {
        this.title = title;
    }
    /**
     * 获取：活动标题
     */
    public String getTitle() {
        return title;
    }
    /**
     * 设置：项目描述（子标题）
     */
    public void setTagline(String tagline) {
        this.tagline = tagline;
    }
    /**
     * 获取：项目描述（子标题）
     */
    public String getTagline() {
        return tagline;
    }
    /**
     * 设置：项目主封面
     */
    public void setCampaignImage(String campaignImage) {
        this.campaignImage = campaignImage;
    }
    /**
     * 获取：项目主封面
     */
    public String getCampaignImage() {
        return campaignImage;
    }
    /**
     * 设置：项目描述
     */
    public void setCampaignDesc(String campaignDesc) {
        this.campaignDesc = campaignDesc;
    }
    /**
     * 获取：项目描述
     */
    public String getCampaignDesc() {
        return campaignDesc;
    }
    /**
     * 设置：来自区域(城市)
     */
    public void setLocationCity(String locationCity) {
        this.locationCity = locationCity;
    }
    /**
     * 获取：来自区域(城市)
     */
    public String getLocationCity() {
        return locationCity;
    }
    /**
     * 设置：来自区域(国家)
     */
    public void setLocationCountry(String locationCountry) {
        this.locationCountry = locationCountry;
    }
    /**
     * 获取：来自区域(国家)
     */
    public String getLocationCountry() {
        return locationCountry;
    }
    /**
     * 设置：持续时间
     */
    public void setCampaignDuration(Date campaignDuration) {
        this.campaignDuration = campaignDuration;
    }
    /**
     * 获取：持续时间
     */
    public Date getCampaignDuration() {
        return campaignDuration;
    }
    /**
     * 设置：视频描述
     */
    public void setPitchVideo(String pitchVideo) {
        this.pitchVideo = pitchVideo;
    }
    /**
     * 获取：视频描述
     */
    public String getPitchVideo() {
        return pitchVideo;
    }
    /**
     * 设置：封面
     */
    public void setPitchImage(String pitchImage) {
        this.pitchImage = pitchImage;
    }
    /**
     * 获取：封面
     */
    public String getPitchImage() {
        return pitchImage;
    }
    /**
     * 设置：
     */
    public void setOverlayImage(String overlayImage) {
        this.overlayImage = overlayImage;
    }
    /**
     * 获取：
     */
    public String getOverlayImage() {
        return overlayImage;
    }
    /**
     * 设置：
     */
    public void setCampaignOverview(String campaignOverview) {
        this.campaignOverview = campaignOverview;
    }
    /**
     * 获取：
     */
    public String getCampaignOverview() {
        return campaignOverview;
    }
    /**
     * 设置：
     */
    public void setCampaignPitchImages(String campaignPitchImages) {
        this.campaignPitchImages = campaignPitchImages;
    }
    /**
     * 获取：
     */
    public String getCampaignPitchImages() {
        return campaignPitchImages;
    }
    /**
     * 设置：所属用户ID
     */
    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }
    /**
     * 获取：所属用户ID
     */
    public String getOwnerId() {
        return ownerId;
    }
    /**
     * 设置：所属人姓名
     */
    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }
    /**
     * 获取：所属人姓名
     */
    public String getOwnerName() {
        return ownerName;
    }
    /**
     * 设置：标签
     */
    public void setTag(String tag) {
        this.tag = tag;
    }
    /**
     * 获取：标签
     */
    public String getTag() {
        return tag;
    }
    /**
     * 设置：
     */
    public void setOverviewDesc(String overviewDesc) {
        this.overviewDesc = overviewDesc;
    }
    /**
     * 获取：
     */
    public String getOverviewDesc() {
        return overviewDesc;
    }


    /**
     * 设置：项目story
     */
    public void setCampaignStory(String campaignStory) {
        this.campaignStory = campaignStory;
    }
    /**
     * 获取：项目story
     */
    public String getCampaignStory() {
        return campaignStory;
    }
    /**
     * 设置：
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    /**
     * 获取：
     */
    public Date getCreateTime() {
        return createTime;
    }
    /**
     * 设置：
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
    /**
     * 获取：
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    public String getOverviewImage() {
        return overviewImage;
    }

    public void setOverviewImage(String overviewImage) {
        this.overviewImage = overviewImage;
    }



    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }


    public String getOwnerImage() {
        return ownerImage;
    }

    public void setOwnerImage(String ownerImage) {
        this.ownerImage = ownerImage;
    }

    public int getBookmarkId() {
        return bookmarkId;
    }

    public void setBookmarkId(int bookmarkId) {
        this.bookmarkId = bookmarkId;
    }

    public boolean isBacker() {
        return isBacker;
    }

    public void setBacker(boolean backer) {
        isBacker = backer;
    }
}
